8655215084ee1cfa122fb4968e07ba21fe04d5a6
[git-annex.git] /
1 [[!comment format=mdwn
2  username="joey"
3  subject="""comment 5"""
4  date="2021-01-21T18:14:09Z"
5  content="""
6 Thanks Mike, that confirms it's failing to unset the config that's not set.
7
8 The .git symlink is what git-annex is supposed to set up, so it should not
9 need to do anything else and the question is, why does it still think it 
10 needs to change something?
11
12 I was able to reproduce the warning, just run `git submodule add foo
13 /path/to/annexrepo` and then in foo, `git-annex init` and then it
14 happens part-way through. Due to two different git-annex processes both
15 trying to do the same conversion, with the second one failing.
16 I've fixed that. 
17
18 My fix will also fix your problem. But, I don't actually
19 understand how to reproduce your problem. I was only able to make it happen
20 when running `git-annex init` (or letting it auto-init), 
21 not running other git-annex commands in a repo it's already initialized.
22
23 Maybe you have `GIT_DIR` set to "../../../.git/modules/..."?
24 """]]